type runtime.mspan
80 uses
runtime (current package)
malloc.go#L849: func nextFreeFast(s *mspan) gclinkptr {
malloc.go#L876: func (c *mcache) nextFree(spc spanClass) (v gclinkptr, s *mspan, shouldhelpgc bool) {
malloc.go#L993: var span *mspan
mbitmap.go#L140: func (s *mspan) allocBitsForIndex(allocBitIndex uintptr) markBits {
mbitmap.go#L149: func (s *mspan) refillAllocCache(whichByte uintptr) {
mbitmap.go#L167: func (s *mspan) nextFreeIndex() uintptr {
mbitmap.go#L222: func (s *mspan) isFree(index uintptr) bool {
mbitmap.go#L234: func (s *mspan) divideByElemSize(n uintptr) uintptr {
mbitmap.go#L247: func (s *mspan) objIndex(p uintptr) uintptr {
mbitmap.go#L257: func (s *mspan) markBitsForIndex(objIndex uintptr) markBits {
mbitmap.go#L262: func (s *mspan) markBitsForBase() markBits {
mbitmap.go#L342: func badPointer(s *mspan, p, refBase, refOff uintptr) {
mbitmap.go#L385: func findObject(p, refBase, refOff uintptr) (base uintptr, s *mspan, objIndex uintptr) {
mbitmap.go#L762: func (h heapBits) initSpan(s *mspan) {
mbitmap.go#L791: func (s *mspan) countAlloc() int {
mbitmap.go#L1883: func materializeGCProg(ptrdata uintptr, prog *byte) *mspan {
mbitmap.go#L1892: func dematerializeGCProg(s *mspan) {
mcache.go#L44: alloc [numSpanClasses]*mspan // spans to allocate from, indexed by spanClass
mcache.go#L82: var emptymspan mspan
mcache.go#L198: func (c *mcache) allocLarge(size uintptr, noscan bool) *mspan {
mcentral.go#L79: func (c *mcentral) cacheSpan() *mspan {
mcentral.go#L104: var s *mspan
mcentral.go#L194: func (c *mcentral) uncacheSpan(s *mspan) {
mcentral.go#L240: func (c *mcentral) grow() *mspan {
mgcmark.go#L843: var s *mspan
mgcmark.go#L1438: func greyobject(obj, base, off uintptr, span *mspan, gcw *gcWork, objIndex uintptr) {
mgcmark.go#L1544: func gcmarknewobject(span *mspan, obj, size, scanSize uintptr) {
mgcsweep.go#L100: func (h *mheap) nextSpanForSweep() *mspan {
mgcsweep.go#L105: var s *mspan
mgcsweep.go#L310: *mspan
mgcsweep.go#L315: func (l *sweepLocker) tryAcquire(s *mspan) (sweepLocked, bool) {
mgcsweep.go#L428: func (s *mspan) ensureSwept() {
mgcsweep.go#L742: func (s *mspan) reportZombies() {
mgcwork.go#L363: var s *mspan
mheap.go#L81: allspans []*mspan // all spans out there
mheap.go#L243: spans [pagesPerArena]*mspan
mheap.go#L376: first *mspan // first span in list, or nil if none
mheap.go#L377: last *mspan // last span in list, or nil if none
mheap.go#L381: type mspan struct {
mheap.go#L382: next *mspan // next span in list, or nil if none
mheap.go#L383: prev *mspan // previous span in list, or nil if none
mheap.go#L464: func (s *mspan) base() uintptr {
mheap.go#L468: func (s *mspan) layout() (size, n, total uintptr) {
mheap.go#L492: s := (*mspan)(p)
mheap.go#L501: var new []*mspan
mheap.go#L627: func spanOf(p uintptr) *mspan {
mheap.go#L662: func spanOfUnchecked(p uintptr) *mspan {
mheap.go#L673: func spanOfHeap(p uintptr) *mspan {
mheap.go#L701: h.spanalloc.init(unsafe.Sizeof(mspan{}), recordspan, unsafe.Pointer(h), &memstats.mspan_sys)
mheap.go#L901: func (h *mheap) alloc(npages uintptr, spanclass spanClass) *mspan {
mheap.go#L905: var s *mspan
mheap.go#L934: func (h *mheap) allocManual(npages uintptr, typ spanAllocType) *mspan {
mheap.go#L943: func (h *mheap) setSpans(base, npage uintptr, s *mspan) {
mheap.go#L1032: func (h *mheap) tryAllocMSpan() *mspan {
mheap.go#L1055: func (h *mheap) allocMSpanLocked() *mspan {
mheap.go#L1061: return (*mspan)(h.spanalloc.alloc())
mheap.go#L1067: pp.mspancache.buf[i] = (*mspan)(h.spanalloc.alloc())
mheap.go#L1087: func (h *mheap) freeMSpanLocked(s *mspan) {
mheap.go#L1119: func (h *mheap) allocSpan(npages uintptr, typ spanAllocType, spanclass spanClass) (s *mspan) {
mheap.go#L1425: func (h *mheap) freeSpan(s *mspan) {
mheap.go#L1456: func (h *mheap) freeManual(s *mspan, typ spanAllocType) {
mheap.go#L1463: func (h *mheap) freeSpanLocked(s *mspan, typ spanAllocType) {
mheap.go#L1554: func (span *mspan) init(base uintptr, npages uintptr) {
mheap.go#L1574: func (span *mspan) inList() bool {
mheap.go#L1584: func (list *mSpanList) remove(span *mspan) {
mheap.go#L1609: func (list *mSpanList) insert(span *mspan) {
mheap.go#L1627: func (list *mSpanList) insertBack(span *mspan) {
mheap.go#L1689: func spanHasSpecials(s *mspan) {
mheap.go#L1697: func spanHasNoSpecials(s *mspan) {
mheap.go#L1894: func newSpecialsIter(span *mspan) specialsIter {
mspanset.go#L69: spans [spanSetBlockEntries]*mspan
mspanset.go#L74: func (b *spanSet) push(s *mspan) {
mspanset.go#L141: func (b *spanSet) pop() *mspan {
mspanset.go#L190: s := (*mspan)(atomic.Loadp(unsafe.Pointer(&block.spans[bottom])))
mspanset.go#L195: s = (*mspan)(atomic.Loadp(unsafe.Pointer(&block.spans[bottom])))
os_nonopenbsd.go#L11: func osStackAlloc(s *mspan) {
os_nonopenbsd.go#L16: func osStackFree(s *mspan) {
runtime2.go#L650: buf [128]*mspan
stack.go#L398: var s *mspan
stack.go#L719: var s *mspan